package com.gaoxing.hayyp.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.ComponentScan;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation. RestController;


@RestController
public class testcontroller {
    @Value("${test.hello：TEST}")

    private String testHello;

    @GetMapping("/hello")
    public  String hello(){return"hello world"+testHello;}
 }
